const testTable = require('../models/testTable');
const inspirecloud = require('@byteinspire/inspirecloud-api');
const ObjectId = inspirecloud.db.ObjectId;

class TestService {
  async listAll() {
    const all = await testTable.where().find();
    return all;
  }
}
// 导出 Service 的实例
module.exports = new TestService();